package com.csi.bumblebee.test;

import com.csi.bumblebee.Application;
import com.csi.bumblebee.util.IdUtil;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * 获取随机id
 * @author yeebs
 */
@SpringBootTest(classes = Application.class)
@RunWith(SpringRunner.class)
public class GetRandomId {
    @Test
    public void test(){
        String id = IdUtil.getString("ES");
        System.out.println(id);
    }
    @Test
    public void test2(){
        String id = IdUtil.getString("PP");
        System.out.println(id);
    }
}
